package com.guigu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.pojo.SysUsers;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 后台员工表 Mapper 接口
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
@Mapper
public interface SysUsersMapper extends BaseMapper<SysUsers> {
    List<SysUsers> selectUserList(SysUsers queryParams); // 增加根据条件查询用户列表的方法

    int insertUser(SysUsers sysUsers);

    int updateUser(SysUsers sysUsers);

    int deleteUserById(Integer userId);
    int deleteUsersByIds(List<Integer> userIds);

}
